public class Fish extends Animal implements ISwimming{
    public Fish(String name) {
        super(name);
    }

    @Override
    public void swim() {
        System.out.println(name +" 正在游");

    }

    @Override
    public void eat() {
        System.out.println(name + "吃鱼食");
    }
}
